import { axios } from '@/utils/request'

/**
 * 查询门票配置表
 *
 * @author 郑雄伟
 * @date 2024-01-02 16:41:59
 */
export function appTicketPackagePage (parameter) {
  return axios({
    url: '/appTicketPackage/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 门票配置表列表
 *
 * @author 郑雄伟
 * @date 2024-01-02 16:41:59
 */
export function appTicketPackageList (parameter) {
  return axios({
    url: '/appTicketPackage/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加门票配置表
 *
 * @author 郑雄伟
 * @date 2024-01-02 16:41:59
 */
export function appTicketPackageAdd (parameter) {
  return axios({
    url: '/appTicketPackage/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑门票配置表
 *
 * @author 郑雄伟
 * @date 2024-01-02 16:41:59
 */
export function appTicketPackageEdit (parameter) {
  return axios({
    url: '/appTicketPackage/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除门票配置表
 *
 * @author 郑雄伟
 * @date 2024-01-02 16:41:59
 */
export function appTicketPackageDelete (parameter) {
  return axios({
    url: '/appTicketPackage/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出门票配置表
 *
 * @author 郑雄伟
 * @date 2024-01-02 16:41:59
 */
export function appTicketPackageExport (parameter) {
  return axios({
    url: '/appTicketPackage/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
